const express = require('express')
const app = express()

app.get('/api/users', (req, res) => {
    res.send({
        meg: 'ok',
        data: [{
            id: 1,
            name: 'ifer'
        }, {
            id: 2,
            name: 'elser'
        }]
    })
})

const PORT = 3000
app.listen(PORT, () => console.log(`Server running on http://192.168.1.6:${3000}`))